import enum


class CouponTypeEnum(enum.IntEnum):
    discount = 1  # 折扣
    full_discount = 2  # 满减
    free_shipping = 3  # 包邮


class CouponStatusEnum(enum.IntEnum):
    enable = 1  # 有效
    disable = 2  # 失效


class CouponLimitTypeEnum(enum.IntEnum):
    count_limit = 1  # 总数限制
    time_limit = 2  # 时间间隔限制
    count_time_limit = 3  # 总数和时间间隔限制


class CouponCodeStatusEnum(enum.IntEnum):
    active = 1  # 未领取
    disable = 2  # 已失效
    gift = 3  # 赠送中 如果需要做优惠券赠送可以使用这个状态
